home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm8_1_1
- Caption = "8-1-1"
- ClientHeight = 1005
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 2310
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1005
- ScaleWidth = 2310
- Begin VB.CommandButton cmdCreateFile
- Caption = "Create File"
- Height = 495
- Left = 480
- TabIndex = 0
- Top = 240
- Width = 1335
- End
- Attribute VB_Name = "frm8_1_1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdCreateFile_Click()
- Dim name1 As String, name2 As String
- 'Demonstrate use of Write # statement
- Open App.Path & "\PIONEER.TXT" For Output As #1
- Write #1, "ENIAC"
- Write #1, 1946
- Write #1, "ENIAC", 1946
- name1 = "Eckert"
- name2 = "Mauchly"
- Write #1, 14 * 139, "J.P. " & name1, name2, "John"
- Close #1
- End Sub
-